<?php

namespace App\Models\Syj;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class cs extends Model
{
    use HasFactory;
    protected $table='cs';
    //直播间名称
    public static function findName($name){
        return self::query()->where('name',$name)->get();
    }

    public static function setLive($name){
        return self::query()->where('name',$name)->get();
    }

}
